<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
   <html xmlns="http://www.w3.org/1999/xhtml"
    dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}"
    xml:lang="{% firstof LANGUAGE_CODE 'en' %}"
    lang="{% firstof LANGUAGE_CODE 'en' %}">
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
        <link rel="stylesheet" href="http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css" type="text/css">
        <link rel="stylesheet" href="/static/css/yuiapp.css" type="text/css">
        <link id="theme" rel="stylesheet" href="/static/css/green.css" type="text/css">
        <script src="http://yui.yahooapis.com/3.0.0pr2/build/yui/yui-min.js" type="text/javascript"></script>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
        <script src="static/js/main.js" type="text/javascript"></script>
        <title>{% block title %}{% endblock %} Contextual</title>
        {% block css %}
        {# <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}combined-{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}.css" /> #}
       {% endblock %}
	    {% block js %}
	      {# <script type="text/javascript" src="{{ MEDIA_URL }}combined-{{ LANGUAGE_CODE }}.js"></script> #}
	    {% endblock %}
	
	    {% block extra-head %}{% endblock %}
    </head>
    <body class="rounded">
        <div id="doc4" class="yui-t6"> 
        <div id="hd">
            <h1>Contextual</h1>
            <h2>Vocabulary building through context</h2>
            <div id="navigation">
				<ul id="user-navigation">
				    {% if user.is_authenticated %} 
					<li> <a href="{% url mywords.views.list_words %}"> Welcome, {{ user.email }}</a>  </li>
				  <li>  <a href="{% url django.contrib.auth.views.logout %}"> Logout</a></li> 
				  {% else %}
				   <li> <a href="{% url django.contrib.auth.views.login %}?redirect_to={{ request.get_full_path|urlencode }}">Login</a></li>
				  {% endif %}
                </ul>

                <div class="clear">
                </div>
            </div>
        </div>
        <div id="bd">
            <div id="yui-main">
                <div class="yui-b">
                    <div class="yui-g">
                        {% block content %}
                        {% endblock %}
                    </div>
                </div>
            </div>
        </div>
        <div id="ft">
            <p class="inner">
                Copyright &copy; 2009 Surya Gaddipati
            </p>
        </div>
    </body>
</html>
